
const taskManagementRouter: any = {
  path: "taskManagement",
  name: "TaskManagement",
  meta: {
    title: "任务管理操作流程",
    isMenu: true,
    icon: "",
  },
  component: () => import("@/components/Template/index.vue"),
  children: [
    {
      path: "task",
      name: "Task",
      meta: {
        title: "任务管理页面",
        isMenu: true
      },
      component: () => import("@/components/Template/index.vue"),
      children: [
        {
          path: "taskList",
          name: "TaskList",
          meta: {
            title: "任务管理列表",
            isMenu: true
          },
          component: () => import("@/views/task-management/task-list/index.vue"),
        },
        {
          path: "indexManagement",
          name: "IndexManagement",
          meta: {
            title: "查询指标管理"
          },
          component: () => import("@/views/index-management/index-list/index.vue")
        },
        {
          path: "createIndex",
          name: "CreateIndex",
          meta: {
            title: "添加指标"
          },
          component: () => import("@/views/index-management/create-index/index.vue")
        },
        {
          path: "taskExecuteList",
          name: "TaskExecuteList",
          meta: {
            title: "查看执行任务"
          },
          component: () => import("@/views/task-management/task-execute-list/index.vue")
        },
        {
          path: "taskExecuteDetails",
          name: "TaskExecuteDetails",
          meta: {
            title: "执行任务实例"
          },
          component: () => import("@/views/task-management/task-execute-details/index.vue")
        },

      ]
    },
    {
      path: "batchUpload",
      name: "BatchUpload",
      meta: {
        title: "批量上传文件管理",
        isMenu: true
      },
      component: () => import("@/components/Template/index.vue"),
      children: [
        {
          path: "uploadList",
          name: "UploadList",
          meta: {
            title: "批量上传文件列表",
            isMenu: true
          },
          component: () => import("@/views/batch-upload/upload-list/index.vue")
        },
        {
          path: "uploadTaskDetails",
          name: "UploadTaskDetails",
          meta: {
            title: "上传文件任务实例"
          },
          component: () => import("@/views/batch-upload/upload-task-details/index.vue")
        }
      ]
    }
  ]
}


export default taskManagementRouter
